<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>方案产品详情</title>
<meta name="author" content="BIZ Team" />
<meta name="copyright" content="BIZ" />
<link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="path">
		<a href="${base}/admin/common/index.jhtml">${message("admin.path.index")}</a> &raquo; 方案主材详情
	</div>
	<form id="inputForm" action="detail.jhtml" method="get">
		<ul id="tab" class="tab">
			<li>
				<input type="button" value="${message("admin.product.base")}" />
			</li>
		</ul>
		<table class="input tabContent">
			<tr>
				<th>
					<span class="requiredField"></span>主材名称:
				</th>
				<td>
					<span>${schemeProduct.name}</span>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>类型:
				</th>
				<td>
					<span>
						[#list types as dv]
							[#if dv.id == schemeProduct.type]
								${dv.title}
							[/#if]
						[/#list]
					</span>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>分类:
				</th>
				<td>
					<span>
						[#list categorys as cate]
							[#if cate.id == schemeProduct.categoryId]
								${cate.title}
							[/#if]
						[/#list]
					</span>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>品牌:
				</th>
				<td>
					<span>
						[#list brands as bra]
							[#if schemeProduct.brand.id == bra.id]
								${bra.name}
							[/#if]
						[/#list]
					</span>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>规格:
				</th>
				<td>
					<span>
						[#list specifications as spec]
							[#list spec.specificationValues as spval]
								[#if schemeProduct.specificationValue.id == spval.id]
									${spval.name}
								[/#if]
							[/#list]
						[/#list]
					</span>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>价格:
				</th>
				<td>
					<span>${schemeProduct.price}</span>
				</td>
			</tr>
            <tr>
                <th>
                    <span class="requiredField"></span>热值:
                </th>
                <td>
                    <span>${schemeProduct.heatValue}</span>
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>排序权重:
                </th>
                <td>
                    <span>${schemeProduct.sortWeight}</span>
                </td>
            </tr>
			<tr>
				<th>
					<span class="requiredField"></span>是否特惠:
				</th>
				<td>
					<label>[#if schemeProduct.isTehui]是[#else]否[/#if]</label>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>是否提成点产品:
				</th>
				<td>
					<label>[#if schemeProduct.isReward]是[#else]否[/#if]</label>
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField"></span>展示图片:
				</th>
				<td>
					<span class="fieldSet">
						<input type="text" name="image" value="${schemeProduct.image}" class="text" readonly="true" maxlength="200" title="用于方案是产品的图片展示" />
					</span>
					<span>
						[#if schemeProduct.image != null]
							<a href="${schemeProduct.image}" target="_blank">[查看图片]</a>
						[/#if]
					</span>
				</td>
			</tr>
		</table>
		<table class="input">
			<tr>
				<th>
					&nbsp;
				</th>
				<td>
					<input type="button" class="button" value="返回" onclick="window.location.href='list.jhtml'" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.tools.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/input.js"></script>
<script type="text/javascript">
	
</script>